package com.basic.hellorabbit.entity;

import lombok.Data;
import java.util.Date;

/**
* @Description:    日志类
* @Author:         Joe
* @CreateDate:     2020/3/18 13:36
*/
@Data
public class RequestLog {
    /**
     * 访问的url
     */
    private String url;
    /**
     * 访问的IP
     */
    private String ip;
    /**
     * 访问类的方法
     */
    private String classMethod;
    /**
     * 请求参数的值
     */
    private Object args;
    /**
     * 操作时间
     */
    private Date createTime;
    /**
     * 返回结果
     */
    private Object result;

    public RequestLog() {
    }

    public RequestLog(String url, String ip, String classMethod, Object args, Date createTime) {
        this.url = url;
        this.ip = ip;
        this.classMethod = classMethod;
        this.args = args;
        this.createTime = createTime;
    }

}
